<style>
    #cell-2 { width: 430px; }
    #cell-2 dt { width: 140px; }
    #cell-2 dd { width: 250px; }
    #cell-3 { width: 300px; }
    #cell-3 dt { width: 160px; }
    #cell-3 dd { width: 100px; }
    #cell-4 { width: 300px; }
    #cell-4 dt { width: 160px; }
    #cell-4 dd { width: 100px; }
</style> 

<div class="vheader">
    <h1><?php echo $this->Funds->d->Fund ?></h1>
    <p><?php echo $this->translate("Fund") ?>
</div>

<div class="vcontent">
<div id="cell-2">
    <dl>
        <dt><?php echo $this->translate("Fund") ?></dt>
        <dd><?php echo $this->Funds->d->Fund ?></dd>
        <dt><?php echo $this->translate("Status") ?></dt>
        <dd><?php echo $this->Funds->d->Status ?></dd>
        <dt><?php echo $this->translate("Code") ?></dt>
        <dd><?php echo $this->Funds->d->Code ?></dd>
        <dt><?php echo $this->translate("Id") ?></dt>
        <dd><?php echo $this->Funds->d->FundId ?></dd>
        <dt><?php echo $this->translate("Programs") ?></dt>
        <dd><?php foreach($this->Funds->r->programs as $program) echo $program->Program .'<br />' ?></dd>
        <dt><?php echo $this->translate("Comments") ?></dt>
        <dd><?php echo $this->replaceEmpty($this->Funds->d->Comments,'-') ?></dd>
    </dl>
</div>

<?php echo $this->partial('partials/performance.phtml', $this->Funds->p); ?>
              
</div>

<div class="vfooter">
    <div class="menu">
        <?php echo $this->link('/admin/fund/add', array('id'=>$this->Funds->d->FundId),$this->translate("Edit fund")) ?>                 
    </div>
</div>

<!-- Tooltips -->
<div data-dojo-type="dijit.Tooltip" data-dojo-props="connectId:'score',position:['below']">
    <?php echo $this->translate("Performance score") ?>
</div>
<!-- Tooltips /-->

